home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19950929-19951130
/
000018_news@columbia.edu_Wed Oct 4 22:06:49 1995.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA28007
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Wed, 4 Oct 1995 18:32:40 -0400
Received: by apakabar.cc.columbia.edu id AA14420
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Wed, 4 Oct 1995 18:32:38 -0400
Path: news.columbia.edu!sol.ctr.columbia.edu!spool.mu.edu!howland.reston.ans.net!swrinde!cs.utexas.edu!news.ti.com!news.itg.ti.com!usenet
From: rusty%@columbia.edu (Rusty Haddock)
Newsgroups: comp.protocols.kermit.misc
Subject: 'set key' in CKermit:OS/2
Date: 4 Oct 1995 22:06:49 GMT
Organization: 1/entropy
Lines: 45
Distribution: world
Message-Id: <44v0hp$djq@dsk92.itg.ti.com>
Reply-To: rusty@ti.com (Rusty Haddock)
Nntp-Posting-Host: iefm770.itg.ti.com
X-Newsreader: IBM NewsReader/2 v1.2
Apparently-To: kermit.misc@watsun.cc.columbia.edu
Maybe I've missed something but there appears to be a "misfeature" about
the way the keycode in the 'set key' command is parsed in CKermit
5A(191) for at least the OS/2 version. Under OS/2 I wanted to use the
Shift-PageUp and Shift-PageDn keys for scrolling through the screen
buffer. Normally, I use the PageUp and PageDn keys but they're assigned
in the "Emacskey.ini" file, thusly I went with the Shifted keys. To get
the keycodes I did:
show key <Return>
Press key:
[Press <S-PageUp>]
Key code \841 => Undefined
So I tried:
set key \841
Bang! As soon as I hit the <SPACE> after the \841 CKermit comes back
and says
?Invalid: set key \841
Errr??? It just gave me that keycode. Hmmm... at first I thought,
Oh, that's s'pose to be octal but on second thought realized that this
was Kermit and that number was really decimal.
Luckily there is a work around! Convert the keycode to Hex and the
command is accepted. hex(841) --> 0x349, so:
set key \x349 \Kupscn
Same thing goes for the Shift-PageDown keycode (\849). Converting
it to hex \x351 also works while the \849 doesn't. <sigh>
While I'm in here I may as well ask for at least a quick explanation
and listing of the available \K functions (like \Kupscn) in the "Using
C-Kermit" book in the next edition. Please? Thanks for reading.
-Rusty-
--
Rusty Haddock, KD4WLZ MSGID: MWH2 ___
Texas Instruments Internet: rusty@ti.com |\/ o\ O
POB 869305 MS 8515 Phone: (214) 575-6838 | ( -< o O
Plano, Texas 75086 Fax: (214) 575-4351 |/\_V_/